﻿<Window x:Class="CSNN.WindowAddTrainingImage"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="Добавление образа" Height="672" Width="767">
    <Grid Name="GridMain">
        <Button Content="Добавить образ" Height="60" Margin="12,0,12,12" Name="buttonAddImage" VerticalAlignment="Bottom" Click="buttonAddImage_Click" />
        <TextBox Height="23" HorizontalAlignment="Left" Margin="462,14,0,0" Name="textBoxWeight" VerticalAlignment="Top" Width="120" IsEnabled="True" Visibility="Visible" Text="0" />
        <TextBox Height="23" HorizontalAlignment="Left" Margin="462,40,0,0" Name="textBoxHeigth" VerticalAlignment="Top" Width="120" IsEnabled="True" Visibility="Visible" Text="0" />
        <Label Content="Ширина" HorizontalAlignment="Left" Margin="401,12,0,0" Name="labelWeight" IsEnabled="True" Visibility="Visible" Height="28" VerticalAlignment="Top" />
        <Label Content="Высота" Height="28" HorizontalAlignment="Left" Margin="407,38,0,0" Name="labelHigth" VerticalAlignment="Top" IsEnabled="True" Visibility="Visible" />
        <GroupBox Header="Изображение" Height="94" Name="groupBox1" VerticalAlignment="Top" HorizontalAlignment="Right" Width="99" Margin="0,18,39,0">
            <Grid Height="60" Width="60">
                <Button Content="OFF" Margin="6,6,4,4" Name="buttonToPicture" DataContext="{Binding}" ClickMode="Release" Click="buttonToPicture_Click" FontSize="16" FontWeight="Bold" Background="Black" Foreground="White" />
            </Grid>
        </GroupBox>
        <Grid Name="GridText" Margin="0,0,0,78" HorizontalAlignment="Left" Width="353">
            <DataGrid AutoGenerateColumns="True" Background="#FFF0F0F0" ClipToBounds="False" ClipboardCopyMode="ExcludeHeader" HorizontalScrollBarVisibility="Auto" Margin="11,34,0,6" Name="dataGridInputs" HorizontalAlignment="Left" Width="148" />
            <Label Height="28" HorizontalAlignment="Left" Name="label3" VerticalAlignment="Top" Content="Входные сигналы" Margin="6,6,0,0" />
            <Label Content="Выходные сигналы" Height="28" HorizontalAlignment="Left" Margin="177,6,0,0" Name="label4" VerticalAlignment="Top" />
            <DataGrid AutoGenerateColumns="True" Background="#FFF0F0F0" ClipToBounds="False" ClipboardCopyMode="ExcludeHeader" HorizontalScrollBarVisibility="Auto" Margin="183,35,0,6" Name="DataGridOutputs" HorizontalAlignment="Left" Width="148" />
        </Grid>
        <TextBox Height="23" HorizontalAlignment="Left" IsEnabled="True" Margin="430,124,0,0" Name="textBoxDiscription" Text="" VerticalAlignment="Top" Visibility="Visible" Width="291" />
        <Label Content="Описание" Height="28" HorizontalAlignment="Left" IsEnabled="True" Margin="359,122,0,0" Name="labelDiscription" VerticalAlignment="Top" Visibility="Visible" />
        <Button Content="Сформировать" HorizontalAlignment="Left" Margin="462,67,0,0" Name="buttonSubmit" Width="120" Height="28" VerticalAlignment="Top" />
        <ScrollViewer Height="399" HorizontalAlignment="Left" Margin="12,156,0,0" Name="scrollViewerImage" VerticalAlignment="Top" Width="721" VerticalScrollBarVisibility="Auto" BorderThickness="2" BorderBrush="Black">
            <Image Name="image1" Stretch="Fill" Visibility="Visible" />
        </ScrollViewer>
    </Grid>
</Window>
